<template>
  <el-config-provider>
    <router-view />
  </el-config-provider>
</template>

<script setup>
// App组件逻辑
// 预加载管理后台相关组件，避免点击时的延迟
import('./views/admin/products/Index.vue');
import('./views/admin/categories/Index.vue');
</script>

<style>
body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  height: 100vh;
  width: 100%;
}
</style> 